﻿do
	IGAS:NewAddon("IGAS_Studio")

	local _DB

	------------------------------------------------------------
	-- ScriptType
	------------------------------------------------------------
	_DB = CreateHelpDB(IGAS.GUI.Widget.Timer, "ScriptType")
	_DB:SetBaseHelpDB(CreateHelpDB(IGAS.GUI.Widget.VirtualUIObject, "ScriptType"))

	_DB:AddCodeHelp("OnTimer", [[ScriptType, Run when the timer is at the right time]], [[OnTimer()]])
	------------------------------------------------------------
	-- Function
	------------------------------------------------------------
	_DB = CreateHelpDB(IGAS.GUI.Widget.Timer, "Function")
	_DB:SetBaseHelpDB(CreateHelpDB(IGAS.GUI.Widget.VirtualUIObject, "Function"))

	_DB:AddCodeHelp("Dispose", [=[Dispose, release resources]=], [=[Dispose()]=])
	------------------------------------------------------------
	-- Property
	------------------------------------------------------------
	_DB = CreateHelpDB(IGAS.GUI.Widget.Timer, "Property")
	_DB:SetBaseHelpDB(CreateHelpDB(IGAS.GUI.Widget.VirtualUIObject, "Property"))

	_DB:AddCodeHelp("Interval", [[Gets or sets the interval at which to raise the Elapsed event]], IGAS:GetPropertyType("number"))
end
